{template "content","header"}
<!-- 内容begin-->
<!-- 内容begin-->
<div id="shop">
<div class="shop0101">
	<div class="shop0101_title"><h1 class="p14">会员服务</h1></div>
	<div class="shop0101_c"><ul style="float:left; width:40px; height:200px;"><li>立即</li><li>立即</li></ul>
	<input name="" type="button"  value="发布需求" onclick="location.href='{APP_PATH}index.php?m=content&c=user&a=buy_product'" class="inputbutton13 p14 strong color13" />
	<input name="" type="button" onclick="location.href='{APP_PATH}index.php?m=member&c=content&a=publish&siteid=1&catid=18'" value="发布供应" class="inputbutton14 p14 strong color13" /></div>
</div>
<div class="weizhi02">你所在的位置：<a href="{APP_PATH}index.php?m=content&c=index&a=lists&catid=18">重庆主材商城首页</a>>><a href="javascript:;">产品列表</a></div>
<div class="shop0102">
	<div class="shop0102_title"><h2>推荐产品</h2></div>

		{pc:content action="get_content" catid="18"  num="25"  order="id DESC" page="$page"}
	  <ul>
		{loop $data['data'] $r}	
		<li><a href="{$r[url]}"><img src="{thumb($r[thumb],115,100)}" /></a><span><a href="{$r[url]}">{str_cut($r[title], 50)}</a></span></li>
		{/loop}
      </ul>
	  {/pc}
	
</div>
<div class="shop0103">
	<ul>
		 {pc:content action="get_product_cat" catid="$catid" num="25" order="id DESC" page="$page"}	
				{loop $data $r}
	 	<li>
	 		<a href="{APP_PATH}index.php?m=content&c=index&a=product_cat&pid={$r[linkageid]}">{$r[name]}</a>
	 		{pc:content action="get_product_cat" id="$r[linkageid]" return="cats"}	
			 	<div>
				 	<dl>
				 	{loop $cats $s}
				 		<dt><a href="{APP_PATH}index.php?m=content&c=index&a=product_cat&cid={$s[linkageid]}">{$s[name]}</a></dt>
				 	{/loop}
				 	</dl>
			 	</div>
			{/pc}
		</li>
		{/loop}		
		{/pc}
	</ul>
</div>
<div class="shop0104">
	<div class="shop0102_title"><h2>产品列表</h2></div>
	<div class="shop0104_c">
	{pc:content action="get_content" category="$pid" cid="$cid"  num="12"  order="id DESC" page="$page"}
	  
		{loop $data['data'] $r}	
		<dl>
			<dt>
			<a href="{$r[url]}">
			<img src="{thumb($r[thumb],115,100)}" /></a></dt><dt>
			<h2><a href="{$r[url]}">{str_cut($r[title], 70)}</a></h2>
			<dd><label>型号：</label>海德堡</dd>
			<dd><label>型号：</label>海德堡</dd>
			<dd><label>型号：</label>海德堡</dd>
			<dd><label>型号：</label>海德堡</dd>
			</dt>
		</dl>
		{/loop}
	  
	
	
	<div class="more">{$data[pages]}</div>
	{/pc}
	</div>
</div>
<div class="shop0105">
<div class="shop0102_title"><h2>最新求购</h2></div>
	<div class="shop0105_c">
	<ul> 
	{pc:content action="lists" catid="34" num="10" order="id DESC" page="$page"}
    {loop $data $r}
		<li><a href="{$r[url]}" target="_blank"{title_style($r[style])}>{str_cut($r[title], 50)}</a></li>
 	{/loop}
    {/pc}
	</ul>
	</div>
</div>
<div class="shop0105">
<div class="shop0102_title"><h2><a href="shangcheng-jiancaizatan.html">建材杂谈</a></h2></div>
	<div class="shop0105_c">
	<ul>
	{pc:content action="lists" catid="10" num="10" order="id DESC" page="$page"}
    {loop $data2 $rs}
		<li><a href="{$r[url]}" target="_blank"{title_style($r[style])}>{str_cut($r[title], 50)}</a></li>
 	{/loop}
    {/pc}
	</ul>
	</div>
</div>
</div>
<!-- 内容end-->
<!--友情链接begin-->
<div class="m06">
  <div class="m06_title">
    <h1><a href="#">友情链接</a></h1>
  </div>
  <ul>
{pc:link  action="type_list" siteid="$siteid" order="listorder DESC" num="10" return="dat"}
		{loop $dat $v}
              {if $type==0}
            <li>  <a href="{$v[url]}" target="_blank">{$v[name]}</a>  </li>
              {else}
             <li> <a href="{$v[url]}" target="_blank"><img src="{$v[logo]}" width="88" height="31" style="border: 1px solid #FFBE7A;"></a> </li>
              {/if}
		{/loop}
	{/pc}
  </ul>
</div>
<!-- 友情链接end-->
<!-- 内容end-->

{template "content","footer"}